/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author user
 */
public interface A {
    public int a();
}

class B implements A
{
    public int a()
    {
        return 1;
    }
}

class C implements A
{
    public int a()
    {
        return 2;
    }
}

class D
{
    public int a()
     {
    B b_a=new B();
    int v_b_a= b_a.a();

    C c_a=new C();
    int v_c_a= c_a.a();

    return v_c_a+v_b_a;
    }
}